export default {
    data() {
        return {
            num: 0
        }
    },
    template: `
    <button @click="num++">点击</button> <span>{{num}}</span>
    `
}